EchartsReact   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 4
dl 0
loc 6
rs 10
c 0
b 0
f 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A constructor 0 4 1
1
import * as echarts from 'echarts';
2
import Core from './core';
3
4
// export the Component the echarts Object.
5
export default class EchartsReact extends Core {
6
  constructor(props) {
7
    super(props);
8
    this.echartsInstance = echarts;
9
  }
10
}
11